package org.jeecg.modules.xl.order.vo;

import java.util.List;
import org.jeecg.modules.xl.order.entity.XlCustomerShipment;
import org.jeecg.modules.xl.order.entity.XlCustomerShipmentDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 发货表
 * @Author: jeecg-boot
 * @Date:   2024-10-27
 * @Version: V1.0
 */
@Data
@ApiModel(value="xl_customer_shipmentPage对象", description="发货表")
public class XlCustomerShipmentPage {

	/**id*/
	@ApiModelProperty(value = "id")
    private Integer id;
	/**发货单号*/
	@Excel(name = "发货单号", width = 15)
	@ApiModelProperty(value = "发货单号")
    private String shipmentCode;
	/**门店编码*/
	@Excel(name = "门店编码", width = 15)
	@ApiModelProperty(value = "门店编码")
    private String storeCode;
	/**订单单号*/
	@Excel(name = "订单单号", width = 15)
	@ApiModelProperty(value = "订单单号")
    private String orderCode;
	/**发货方式(1:城配，2:快递)*/
	@Excel(name = "发货方式", width = 15, dicCode = "delivery_way")
    @Dict(dicCode = "delivery_way")
	@ApiModelProperty(value = "发货方式(1:城配，2:快递)")
    private String deliveryWay;
	/**快递类型(1:三通一达，2:顺丰，3:京东，4:极兔，5:邮政，6:德邦)*/
	@Excel(name = "快递类型", width = 15, dicCode = "delivery_type")
    @Dict(dicCode = "delivery_type")
	@ApiModelProperty(value = "快递类型(1:三通一达，2:顺丰，3:京东，4:极兔，5:邮政，6:德邦)")
    private String deliveryType;
	/**快递单号*/
	@Excel(name = "快递单号", width = 15)
	@ApiModelProperty(value = "快递单号")
    private String deliveryCode;
	/**状态(1:已发货，2:已收货)*/
	@Excel(name = "状态", width = 15,dicCode = "customer_shipment_state")
	@ApiModelProperty(value = "状态(1:已发货，2:收货中,3:已收货)")
	@Dict(dicCode = "customer_shipment_state")
    private String state;
	/**收货时间*/
	@Excel(name = "收货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "收货时间")
    private Date takeDeliveryTime;
	/**收货确认人*/
	@Excel(name = "收货确认人", width = 15)
	@ApiModelProperty(value = "收货确认人")
    private String takeDeliveryBy;
	/**收货凭证图片*/
	@Excel(name = "收货凭证图片", width = 15)
	@ApiModelProperty(value = "收货凭证图片")
    private String takeDeliveryImage;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**租户号*/
	@Excel(name = "租户号", width = 15)
	@ApiModelProperty(value = "租户号")
    private String tenantId;

	@ExcelCollection(name="发货商品表")
	@ApiModelProperty(value = "发货商品表")
	private List<XlCustomerShipmentDetail> xlCustomerShipmentDetailList;

}
